<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/12/19
 * Time: 19:15
 */

namespace app\modules\mediator;


interface MediatorInterface
{
    /**
     * 发送响应
     *
     * @date   2018/12/19
     * @author edmmss
     * @param $content
     * @return mixed
     */
    public function sendResponse($content);

    /**
     * 做出请求
     *
     * @date   2018/12/19
     * @author edmmss
     * @return mixed
     */
    public function makeRequest();

    /**
     * 查询数据库
     *
     * @date   2018/12/19
     * @author edmmss
     * @return mixed
     */
    public function queryDb();
}